﻿namespace Fuse8.DomainFramework.Domain
{
	/// <summary>
	/// Represents results got from cache
	/// </summary>
	/// <typeparam name="T">Returning object type</typeparam>
	public class CacheResult <T>
	{
		/// <summary>
		/// Cache key
		/// </summary>
		public string CacheKey { get; set; }

		/// <summary>
		/// Generic object got from cache
		/// </summary>
		public T Result { get; set; }
	}
}